package entity.marketingEntity;

import java.util.Date;

public class Special {
    private Integer special_id;

    private Integer special_type_id;

    private String special_name;

    private Date add_time;

    public Integer getSpecial_id() {
        return special_id;
    }

    public void setSpecial_id(Integer special_id) {
        this.special_id = special_id;
    }

    public Integer getSpecial_type_id() {
        return special_type_id;
    }

    public void setSpecial_type_id(Integer special_type_id) {
        this.special_type_id = special_type_id;
    }

    public String getSpecial_name() {
        return special_name;
    }

    public void setSpecial_name(String special_name) {
        this.special_name = special_name == null ? null : special_name.trim();
    }

    public Date getAdd_time() {
        return add_time;
    }

    public void setAdd_time(Date add_time) {
        this.add_time = add_time;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", special_id=").append(special_id);
        sb.append(", special_type_id=").append(special_type_id);
        sb.append(", special_name=").append(special_name);
        sb.append(", add_time=").append(add_time);
        sb.append("]");
        return sb.toString();
    }
}